package com.carb.service;

import com.carb.dto.EmployeeAddDTO;
import com.carb.dto.EmployeePageQueryDTO;
import com.carb.dto.EmployeeUpdateDTO;
import com.carb.entity.Employee;
import com.baomidou.mybatisplus.extension.service.IService;
import com.carb.result.PageResult;
import com.carb.vo.EmployeeVO;

/**
 * <p>
 * 员工管理 服务类
 * </p>
 *
 * @author XuChaoyang
 * @since 2025-01-18
 */
public interface IEmployeeService extends IService<Employee> {

    void addEmployee(EmployeeAddDTO employeeAddDTO);

    PageResult<EmployeeVO> pageQuery(EmployeePageQueryDTO employeePageQueryDTO);

    EmployeeVO getEmployeeById(Long id);

    void updateEmployee(EmployeeUpdateDTO employeeUpdateDTO);

    void deleteEmployee(Long id);
}
